<?php
/**
 *
 * @authors xiadx (xiadx@zpdchina.com)
 * @date    2017-02-24 11:56:24
 * @version $Id$
 */

class IndexController extends Yaf_Controller_Abstract {

     public function indexAction()
    {
/*        if ($exception->getCode() == 516 && !headers_sent())
        {
            header('HTTP/1.1 404 Not Found', TRUE, 404);
            header('status: 404 Not Found', TRUE, 404);
//            exit();
            return FALSE;
        }*/
        // $html = Kohana_Exception::handler($exception);
        echo 'Hello world!';
//		$this->getView()->assign("exception", $exception);
        return FALSE;
    }
}
